package br.com.etecmatao.dao.impl;

import br.com.etecmatao.model.Curso;
import br.com.etecmatao.dao.CursoDAO;
import java.util.List;

public class CursoDAOImpl extends GenericDAOImpl<Curso, Integer> implements CursoDAO {

    @Override
    public List<Curso> findAll() {
        return getEntityManager().createNamedQuery("Curso.findAll").getResultList();
    }
}
